Platform Explorer / Nuxeo Platform 2021.48

Contribution com.nuxeo.aspera.connector.doctypes--lifecycle

This contribution is part of XML component com.nuxeo.aspera.connector.doctypes inside nuxeo-aspera-core-2021.6.3.jar /OSGI-INF/aspera-doctypes.xml

Extension Point

Extension point lifecycle of component LifeCycleService.

Registration Order

1
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <lifecycle defaultInitial="draft" name="transfer_lifecyle">
          <transitions>
            <transition destinationState="started" name="to_started">
              <description/>
            </transition>
            <transition destinationState="pending" name="to_pending">
              <description/>
            </transition>
            <transition destinationState="completed" name="to_completed">
              <description/>
            </transition>
            <transition destinationState="failed" name="to_failed">
              <description/>
            </transition>
          </transitions>
          <states>
            <state description="When the transfer is not started - can be modified" initial="true" name="draft">
              <transitions>
                <transition>to_started</transition>
              </transitions>
            </state>
            <state description="When the transfer started (no files uploaded yet) - cannot be modified" name="started">
              <transitions>
                <transition>to_started</transition>
                <transition>to_pending</transition>
              </transitions>
            </state>
            <state description="When the transfer started to have files uploaded - cannot be modified" name="pending">
              <transitions>
                <transition>to_failed</transition>
                <transition>to_completed</transition>
              </transitions>
            </state>
            <state description="When the transfer is completed - cannot be modified" name="completed">
              <transitions>
    
              </transitions>
            </state>
            <state description="When the transfer is completed but some files failed - can be modified" name="failed">
              <transitions>
                <transition>to_pending</transition>
              </transitions>
            </state>
          </states>
        </lifecycle>

XML Source

<extension point="lifecycle" target="org.nuxeo.ecm.core.lifecycle.LifeCycleService">
    <lifecycle defaultInitial="draft" name="transfer_lifecyle">
      <transitions>
        <transition destinationState="started" name="to_started">
          <description/>
        </transition>
        <transition destinationState="pending" name="to_pending">
          <description/>
        </transition>
        <transition destinationState="completed" name="to_completed">
          <description/>
        </transition>
        <transition destinationState="failed" name="to_failed">
          <description/>
        </transition>
      </transitions>
      <states>
        <state description="When the transfer is not started - can be modified" initial="true" name="draft">
          <transitions>
            <transition>to_started</transition>
          </transitions>
        </state>
        <state description="When the transfer started (no files uploaded yet) - cannot be modified" name="started">
          <transitions>
            <transition>to_started</transition>
            <transition>to_pending</transition>
          </transitions>
        </state>
        <state description="When the transfer started to have files uploaded - cannot be modified" name="pending">
          <transitions>
            <transition>to_failed</transition>
            <transition>to_completed</transition>
          </transitions>
        </state>
        <state description="When the transfer is completed - cannot be modified" name="completed">
          <transitions>

          </transitions>
        </state>
        <state description="When the transfer is completed but some files failed - can be modified" name="failed">
          <transitions>
            <transition>to_pending</transition>
          </transitions>
        </state>
      </states>
    </lifecycle>
  </extension>